# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=asn
pkgver=0.78.0
pkgrel=0
pkgdesc="ASN Lookup Tool and Traceroute Server"
url="https://github.com/nitefood/asn/"
arch="noarch"
license="MIT"
depends="bash
	ncurses
	nmap
	nmap-ncat
	mtr
	aha
	curl
	whois
	grepcidr3
	coreutils
	ipcalc
	bind-tools
	jq"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nitefood/asn/archive/refs/tags/v$pkgver.tar.gz"

package() {
	install -Dm0755 asn "$pkgdir"/usr/bin/asn
}

sha512sums="
42fd61606c488bcfdec13412b4a169b4ae57b3182794864b1fc2b4d1bf8cd7172a0cd10a7b24f3b53507a81f79abb00999544c4baead5a4086fecbb2367b0c9a  asn-0.78.0.tar.gz
"
